package com.wxzz.elearing.user.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.wxzz.elearning.common.dto.BasePage;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class SystemMessageSelDto extends BasePage {

    @ApiModelProperty(value = "级别id")
    private Long commonCategoryId;

    @ApiModelProperty(value = "通知标题")
    private String messageTitle;

    @ApiModelProperty(value = "类型 0-通知 1-消息")
    private Integer type;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开始时间")
    private LocalDateTime startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束时间")
    private LocalDateTime endTime;

}
